package com.yike.user.service;

import com.yike.user.entity.ShopType;
import com.yike.user.param.ShopTypePageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;
import com.yike.user.param.ShopTypeParam;

/**
 * 店铺类型表 服务类
 *
 * @author Sakura
 * @since 2024-09-04
 */
public interface ShopTypeService extends BaseService<ShopType> {

    /**
     * 保存
     *
     * @param shopTypeParam
     * @return
     * @throws Exception
     */
    boolean saveShopType(ShopTypeParam shopTypeParam) throws Exception;

    /**
     * 修改
     *
     * @param shopTypeParam
     * @return
     * @throws Exception
     */
    boolean updateShopType(ShopTypeParam shopTypeParam) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteShopType(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param shopTypePageParam
     * @return
     * @throws Exception
     */
    Paging<ShopType> getShopTypePageList(ShopTypePageParam shopTypePageParam) throws Exception;

}
